/* Profile details for Emoticony */
package wavebot;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.wave.api.ProfileServlet;

@SuppressWarnings("serial")
public class DudeProfileServlet extends ProfileServlet {
	private HttpServletRequest request;

	// Avatar
	@Override
	public String getRobotAvatarUrl() {
		return "http://" + request.getServerName() + "/img/dudebot.png";
	}

	// Name
	@Override
	public String getRobotName() {
		return "Dude bot";
	}

	// URL
	@Override
	public String getRobotProfilePageUrl() {
		return "url to your profile";
	}

	@Override
	public void doGet(HttpServletRequest req, HttpServletResponse resp) {
		this.request = req;
		super.doGet(req, resp);
	}

}